package com.itheima.service;

import com.itheima.domain.PageResult;
import com.itheima.domain.pojo.Students;
import com.itheima.domain.pojo.StudentsQueryParam;

import java.util.List;

public interface StudentsService {
    PageResult<Students> page(StudentsQueryParam studentsQueryParam);


    void add(Students students);

    //批量删除员工
    void delete(List<Integer> id);

    Students getById(Integer id);

    void update(Students students);

    void violation(Integer id, Integer score);
}
